package com.bytech.comment.biz.service.emoticon;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bytech.common.biz.entity.base.BaseResult;
import com.bytech.common.biz.entity.comment.Comment;
import com.bytech.common.biz.entity.comment.CommentDto;
import com.bytech.common.biz.entity.comment.CommentQuery;
import com.bytech.common.biz.entity.emoticon.Emoticon;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bytech.common.biz.entity.emoticon.EmoticonDto;
import com.bytech.common.biz.entity.emoticon.EmoticonQuery;

/**
 * @Author Zhao
 * @Create 2021-12-04
 */
public interface EmoticonService extends IService<Emoticon> {

    Page<EmoticonDto> pageByQuery(EmoticonQuery<Emoticon> emoticonQuery);

    BaseResult<?> toggleUsable(Long id);

    BaseResult<?> doModifyEmoticonName(Long id, String name);
}
